import sys
import tkinter
import tkinter.messagebox

from PySide2 import QtGui, QtWidgets, QtCore
def add(x,y):
    tkinter.messagebox.showinfo("title","msg")
    return x + y


if __name__ == "__main__":
    add(1,2)